package ooday02;

public class Test {
    public static void main(String[] args) {
        Student za = new Student("张安",18,"柳州","jsd2408","002");
        za.study();
        za.sleep();
        za.eat();
        za.sayHi();
        System.out.println("==============================");

        Teacher ll = new Teacher("安生",25,"南宁",12000.0);

        ll.eat();
        ll.sleep();
        ll.teach();
        ll.sayHi();
        ll.sayHi();
        System.out.println("=========================");

        Doctor wd = new Doctor("王丹",35,"桂林","主任医师");
        wd.eat();
        wd.sleep();
        wd.cut();
        wd.sayHi();
        wd.sayHi();
    }
}
